import("//third-party/unittest/unittest.gni")

unittest("OrcJITTests") {
  deps = [
    "//llvm/lib/ExecutionEngine",
    "//llvm/lib/ExecutionEngine/Orc",
    "//llvm/lib/ExecutionEngine/Orc/Shared",
    "//llvm/lib/ExecutionEngine/RuntimeDyld",
    "//llvm/lib/IR",
    "//llvm/lib/Object",
    "//llvm/lib/Support",
    "//llvm/lib/Target:NativeTarget",
    "//llvm/lib/TargetParser",
    "//llvm/lib/Testing/Support",
  ]
  sources = [
    "CoreAPIsTest.cpp",
    "EPCGenericJITLinkMemoryManagerTest.cpp",
    "EPCGenericMemoryAccessTest.cpp",
    "ExecutionSessionWrapperFunctionCallsTest.cpp",
    "ExecutorAddressTest.cpp",
    "IndirectionUtilsTest.cpp",
    "JITTargetMachineBuilderTest.cpp",
    "LazyCallThroughAndReexportsTest.cpp",
    "LookupAndRecordAddrsTest.cpp",
    "MapperJITLinkMemoryManagerTest.cpp",
    "MemoryMapperTest.cpp",
    "ObjectFormatsTest.cpp",
    "ObjectLinkingLayerTest.cpp",
    "OrcCAPITest.cpp",
    "OrcTestCommon.cpp",
    "RTDyldObjectLinkingLayerTest.cpp",
    "ResourceTrackerTest.cpp",
    "SharedMemoryMapperTest.cpp",
    "SimpleExecutorMemoryManagerTest.cpp",
    "SimplePackedSerializationTest.cpp",
    "SymbolStringPoolTest.cpp",
    "TaskDispatchTest.cpp",
    "ThreadSafeModuleTest.cpp",
    "WrapperFunctionUtilsTest.cpp",
  ]
}
